import java.net.URL;

import javax.swing.ImageIcon;

public class Date {

    //相对路径   tx.jpg
    //绝对路径   相当于当前的项目
    public static URL headerUrl = Date.class.getResource("/snakeStaticPicture/header.jpg");
    public static ImageIcon headerIcon = new ImageIcon(headerUrl);

    public static URL upUrl = Date.class.getResource("/snakeStaticPicture/up.jpg");
    public static ImageIcon upIcon = new ImageIcon(upUrl);

    public static URL downUrl = Date.class.getResource("/snakeStaticPicture/down.jpg");
    public static ImageIcon downIcon = new ImageIcon(downUrl);

    public static URL leftUrl = Date.class.getResource("/snakeStaticPicture/left.jpg");
    public static ImageIcon leftIcon = new ImageIcon(leftUrl);

    public static URL rightUrl = Date.class.getResource("/snakeStaticPicture/right.jpg");
    public static ImageIcon rightIcon = new ImageIcon(rightUrl);

    public static URL bodyUrl = Date.class.getResource("/snakeStaticPicture/body.jpg");
    public static ImageIcon bodyIcon = new ImageIcon(bodyUrl);

    public static URL foodUrl = Date.class.getResource("/snakeStaticPicture/food.jpg");
    public static ImageIcon foodIcon = new ImageIcon(foodUrl);
}